﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using dbPoll_Application.Models;

namespace dbPoll_Application.ViewModels
{
    public class SelectUserViewModel
    {
        public IList<User> users { get; set; }
        public Role role { get; set; }
        public int pollID { get; set; }
        public String pollName { get; set; }

        public SelectUserViewModel()
        {
            this.users = null;
            this.role = null;
            this.pollID = -1;
            this.pollName = String.Empty;
        }

        public SelectUserViewModel(IList<User> users, Role role, int pollID, String pollName)
        {
            this.users = users;
            this.role = role;
            this.pollID = pollID;
            this.pollName = pollName;
        }
    }
}
